package com.yzy.yzy_crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2020-03-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer {
    @TableId(value = "customer_id", type = IdType.AUTO)
    private Integer customerId;

    private String customerName;

    private String sex;

    private Integer telphone;

    private String company;

    private String address;

    private Integer userId;

    private Integer isOrders;

    @TableField(exist = false)
    private List<Contact> contactList;


}
